UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

Kernel core dumps must be disabled unless needed.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22404 GEN003510 SV-26607r1_rule ECSC-1 Medium
Description
Kernel core dumps may contain the full contents of system memory at the time of the crash. Kernel core dumps may consume a considerable amount of disk space and may result in Denial of Service by exhausting the available space on the target file system. The kernel core dump process may increase the amount of time a system is unavailable due to a crash. Kernel core dumps can be useful for kernel debugging.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2017-05-19

Details

Check Text ( C-36493r2_chk )
Verify crash dumps are disabled.
# crashconf -v

If the "included" list is not empty or fully disabled, this is a finding.

# crashconf -v | tr '\011' ' ' | tr -s ' ' | sed -e 's/^[ \t]*//' | cut -f 3,3 -d " " | \
egrep -c -i "yes,"

If the above command returns a value >0, this is a finding.
Fix Text (F-31846r1_fix)
Disable crash dumps.
# crashconf -e all

Edit /etc/rc.config.d/crashconf and set CRASH_EXCLUDED_PAGES="all".